package com.peng.immodule.analytics;

/**
 * Created by Mr.Q on 2018/3/6.
 * 描述
 */


import android.annotation.SuppressLint;

import java.text.SimpleDateFormat;
import java.util.Date;

public class EMCollector {
    static boolean collectorEnabled = false;

    public EMCollector() {
    }

    public void enableCollector(boolean var1) {
        collectorEnabled = var1;
    }

    @SuppressLint({"SimpleDateFormat"})
    public static String timeToString(long var0) {
        Date var2 = new Date(var0);
        SimpleDateFormat var3 = new SimpleDateFormat("mm:ss:SSS");
        String var4 = var3.format(var2);
        return var4;
    }

    public static String getTagPrefix(String var0) {
        return "[" + var0 + "]";
    }
}
